<?php if (!defined('THINK_PATH')) exit(); echo W('Template/top');?>
<div class="wrapper clearfix content" style="position: relative;border: 1px solid #ddd">
    <?php echo W('Template/left');?>

    <form class="form-horizontal zcform" id="signupForm" method="post" action="<?php echo U('Agency/edit',array('id'=> $list['id']));?>" enctype="multipart/form-data">
        <input type="hidden" name="id" value="<?php echo ($list["id"]); ?>">
        <input id="editPwd" type="hidden" value="<?php echo U('User/editPwd');?>"/>

        <div class="rightbox pull-right">
            <div class="ur-here">您当前的位置：<a href="#">个人信息</a>&gt;修改密码</div>
            <div class="cTitle2">修改密码</div>
            <div class="panelCon" id="tab-1">
                <div class="form-group">
                    <label class="col-sm-2 control-label">真实姓名：</label>
                    <label class="control-label" style="margin-left: 12px"><?php echo ($userInfo["name"]); ?></label>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">登录名：</label>
                    <label class="control-label" style="margin-left: 12px"><?php echo ($userInfo["login_name"]); ?></label>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">原密码：</label>

                    <div class="col-sm-4">
                        <input id="password" name="password" class="form-control" type="password"
                               class="{required:true,rangelength:[8,20],}" placeholder="请输入密码"></div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label">新密码：</label>

                    <div class="col-sm-4">
                        <input id="newpassword" name="password" class="form-control" type="password"
                               class="{required:true,rangelength:[8,20],}" placeholder="请输入密码"></div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">确认密码：</label>

                    <div class="col-sm-4">
                        <input id="password2" name="password" class="form-control" type="password"
                               class="{required:true,rangelength:[8,20],}" placeholder="请输入密码"></div>
                </div>
                <div class="text-center clearfix pwb">
                    <input type="button" value="修改" class="btn btn-warning" id="savePersonalPwd"/>
                    <input type="reset" value="重置" class="btn btn-info"/>
                </div>
            </div>

        </div>
    </form>
</div>
<?php echo W('Template/bottom');?>

</body>
</html>